package com.luoqiz.designPatterns.factory.factory;

public class FileLoggerFactory implements LoggerFactory{

	@Override
	public Logger createLogger() {
		return new FileLogger();
	}

	@Override
	public Logger createLogger(String path) {
		System.out.println("设置日志文件路径：" + path);
		return new FileLogger();		
	}

}
